package com.xiaoshuidi.cloud.module.rooms;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.zxp.esclientrhl.annotation.EnableESTools;

@SpringBootApplication
@MapperScan(value = "com.xiaoshuidi.cloud.module.rooms.mapper")
@EnableESTools      //es配置
@EnableFeignClients
@Slf4j
public class RoomsApplication {
    public static void main(String[] args) {
        log.info("=====项目启动=========");
        SpringApplication.run(RoomsApplication.class, args);
        log.info("=====项目启动成功!!!!=========");
    }
}
